<%@page import="RssEasy.Core.HttpRequestHelper"%>
<%@page import="RssEasy.Core.CookieHelper"%>
<%@page import="Model.Product.ProductList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
CookieHelper cookie=new CookieHelper(request, response);
HttpRequestHelper hrh=new HttpRequestHelper(pageContext).request();
ProductList plt =new ProductList(pageContext);
plt.request();
String types=hrh.get("types");
if(types.equals("1")){
 plt.delete().where("myid ="+cookie.Get("myid")+" and id ="+plt.get("id") +"").submit() ;
 out.print("1");
};
%>